package com.qall.util.sql;

@SqlTable(tableName="user",primaryKeyName = "id")
public class TestEntity {

    @SqlColumn(colName="id",colType = "int",comment="主键id",nullAble=false,isPrimary=true)
    private int id;

    @SqlColumn(colName="name",colType = "varchar(10)",comment="名称",nullAble=true,isPrimary=false)
    private String name;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
